<?php include($this->view_path('common/header'));?>
        <script type="text/javascript" src="<?php echo __JS__;?>/ueditor/ueditor.config.js"></script>
		<script type="text/javascript" src="<?php echo __JS__;?>/ueditor/ueditor.all.js"></script>
<script type="text/javascript">
UE.getEditor('contents');
</script>
  
<div class="g-bd f-cb">
    <div class="">
    <div class="m-form">
    <form action="<?php echo __INDEX__.'/code.adddeal'?>" method="post"
enctype="multipart/form-data">
        <fieldset>
            <legend>请添加资源（为了保证您的连接长期有效，请勿添加违法资源）</legend>
            <div class="formitm">
                <label class="lab">资源标题:</label>
                <div class="ipt">
                    <input type="text" name="title" class="u-ipt"/>
                    <p>便于您以后快速查找到您的资源</p>
                </div>
            </div>
            <div class="formitm">
                <label class="lab">管理密码:</label>
                <div class="ipt">
                    <input type="text" name="password" class="u-ipt"/>
                    <p>便于您以后修改资源信息</p>
                </div>
            </div>
            <div class="formitm">
                <label class="lab">资源简介:</label>
                <div class="ipt">
                    <textarea name="contents"   id="contents"></textarea>
                    
                    <p>资料的简单介绍，不需要可不填</p>
                </div>
            </div>
            <div class="formitm">
                <label class="lab">资源上传:</label>
                <div class="ipt">
                   <iframe src="<?php echo __ROOT__;?>/qiniu/upload.html" width="60%" height="50px"></iframe>
                </div>
            </div>
            <div class="formitm formitm-1"><button class="u-btn" type="submit">立即生成外链</button></div>
        </fieldset>
    </form>
</div>
    </div>
</div>


<?php include($this->view_path('common/footer'));?>